sunxi: axp209: Disable interrupts when intializing the axp209
authorHans de Goede <[email protected]>
Sat, 17 Jan 2015 15:39:20 +0000 (16:39 +0100)
committerHans de Goede <[email protected]>
Thu, 22 Jan 2015 11:34:55 +0000 (12:34 +0100)
commit9dcf68fac888211758f43b2adf9b930d519a26da
treeb204dd5419aa5513c773b92c9d9236ffa02fe7ab
parentdaf22636c21462aed84f938b5de564f99769d136
sunxi: axp209: Disable interrupts when intializing the axp209

We do not use the axp209 interrupt, and at least in my mini-x (which does not
have a power button) the pwr-button pin and the irq pin are soldered together,
so if the axp209 keeps it irq asserted too long it will see a 10s pwr-button
press and hard power off the board, disabling the irqs fixes this.

Signed-off-by: Hans de Goede <[email protected]>
Acked-by: Ian Campbell <[email protected]>
drivers/power/axp209.c